#!/usr/bin/env python
# -*- coding: UTF-8 -*-

import roslib
import rospy

from std_msgs.msg import String

def callBack(msg):
    rospy.loginfo(msg.data)
    if msg.data.find("显示")>-1:
        print(information)

if __name__=="__main__":
    rospy.init_node('test')
    information = "test"
    rospy.sleep(1)
    rospy.Subscriber('voiceWords',String,callBack)
    rospy.spin()

